package ute.mvc.dto;

import java.util.List;

import ute.mvc.model.TestPart;

public class TestPartDTO {
	private String testPartId;
	private String testPartName;
	private List<QuestionDTO> listQuestion;
	
	public TestPartDTO(){
		
	}
	
	public TestPartDTO(TestPart part){
		testPartId = part.getTestPartId();
		testPartName = part.getTestPartName();
	}

	public String getTestPartId() {
		return testPartId;
	}

	public void setTestPartId(String testPartId) {
		this.testPartId = testPartId;
	}

	public String getTestPartName() {
		return testPartName;
	}

	public void setTestPartName(String testPartName) {
		this.testPartName = testPartName;
	}

	public List<QuestionDTO> getListQuestion() {
		return listQuestion;
	}

	public void setListQuestion(List<QuestionDTO> listQuestion) {
		this.listQuestion = listQuestion;
	}
}
